import path from 'path-browserify';

export function resolveRoutePath(basePath?: string, routePath?: string) {
  return basePath ? path.resolve(basePath, routePath ?? '') : (routePath ?? '');
}
